package edu.sctu.zhengsenwen.month201506.day20150614.lock;

/**
 * Created by user15 on 2015/6/15.
 */
public class GetClass1 extends Thread {

    private SynchronizingClass1 shareClass;

    public GetClass1(SynchronizingClass1 synchronizingClass1) {

        shareClass = synchronizingClass1;
    }

    public void run() {
        for (int i = 0; i < 10; i++) {

            shareClass.get();

        }
    }
}
